#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright © 2016 lizongzhe 
#
# Distributed under terms of the MIT license.

from .settings import *

ACCESS_KEY_ID = os.environ.get('ALI_API_KEY')
ACCESS_KEY_SECRET = os.environ.get('ALI_API_SECRET')
END_POINT = "oss-cn-shanghai.aliyuncs.com"
BUCKET_NAME = "esrtaobao"
BUCKET_ACL_TYPE = "public-read" # private, public-read, public-read-write

DEFAULT_FILE_STORAGE = 'aliyun_oss2_storage.backends.AliyunMediaStorage'
STATICFILES_STORAGE = 'aliyun_oss2_storage.backends.AliyunStaticStorage'


DEBUG = False
STATIC_URL = 'http://esr-taobao.oss-cn-shanghai.aliyuncs.com/static/'
